package cn.chia.pojo;

import java.util.Date;

/**
 * TblShopcar entity. @author MyEclipse Persistence Tools
 */

public class TblShopcar implements java.io.Serializable {

	// Fields

	private Integer shopcarId;
	private TblItems tblItems;
	private User user;
	private Date date;
	private Integer num;

	// Constructors

	/** default constructor */
	public TblShopcar() {
	}

	/** full constructor */
	public TblShopcar(TblItems tblItems, User user, Date date, Integer num) {
		this.tblItems = tblItems;
		this.user = user;
		this.date = date;
		this.num = num;
	}

	// Property accessors

	public Integer getShopcarId() {
		return this.shopcarId;
	}

	public void setShopcarId(Integer shopcarId) {
		this.shopcarId = shopcarId;
	}

	public TblItems getTblItems() {
		return this.tblItems;
	}

	public void setTblItems(TblItems tblItems) {
		this.tblItems = tblItems;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

}